import Vue from 'vue'
import App from './App'
import store from './store' // store
import plugins from './plugins' // plugins
import './permission' // permission
import './global'
import i18n from './i18n';
import { getEnv,imgPath } from './utils/common'
Vue.use(plugins)
Vue.prototype.$i18n = i18n; //语言包对象
Vue.prototype.$t = i18n.t || {}; //解析语言包
Vue.config.productionTip = false
Vue.prototype.$store = store
Vue.prototype.$env = getEnv()
Vue.prototype.$imgPath = imgPath

App.mpType = 'app'
const app = new Vue({
  ...App
})

app.$mount()
